package com.oocl.Model;

import com.oocl.Bean.Customer;

public class Node<T> {
	private T value;
	private Node<T> preNode;
	private Node<T> nextNode;
	
	public Node(){
	}
	
	public Node(T value) {
		super();
		this.value = value;
	}

	public T getValue() {
		return value;
	}

	public void setValue(T value) {
		this.value = value;
	}

	public Node getPreNode() {
		return preNode;
	}

	public void setPreNode(Node preNode) {
		this.preNode = preNode;
	}

	public Node getNextNode() {
		return nextNode;
	}

	public void setNextNode(Node nextNode) {
		this.nextNode = nextNode;
	}

}
